
using Core.SimpleTemp.Entitys.CBS;
using Core.Toolkit.Core.Entitys;
using System;
using System.Collections.Generic;

using System.ComponentModel.DataAnnotations;
using Core.SimpleTemp.Entitys.CBS;



namespace Core.SimpleTemp.Entitys
{
    /// <summary>
    /// 承包商_人员名录
    /// </summary>
    public class CBS_User : Entity
    {
        /// <summary>
        /// 人员姓名
        /// </summary>
        public String PersonnelName { get; set; }
        /// <summary>
        /// 承包商ID
        /// </summary>
        public Guid? CBSListId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public String sex { get; set; }
        /// <summary>
        /// 出生年月
        /// </summary>
        public DateTime? birther { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public String IDNumber { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public String phone { get; set; }
        /// <summary>
        /// 健康状况
        /// </summary>
        public String health { get; set; }
        /// <summary>
        /// 施工类别
        /// </summary>
        public String ConstructionCategory { get; set; }

        /// <summary>
        /// 主要业绩
        /// </summary>
        public String MainaAchievement { get; set; }
        /// <summary>
        /// 是否为负责人
        /// </summary>
        public String IsHead { get; set; }
        /// <summary>
        /// 入场培训是否合格
        /// </summary>
        public String IsQualified { get; set; }
        /// <summary>
        /// 培训日期
        /// </summary>
        public DateTime? TrainingDate { get; set; }
        /// <summary>
        /// 是否黑名单
        /// </summary>
        public Boolean IsBack { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }

        /// <summary>
        /// 工种
        /// </summary>
        public String TypeOfWork { get; set; }

        public CBS_List CBS_List { get; set; }

        public virtual ICollection<CBS_UserAttachment> CBS_UserAttachments { get; set; }
    }
}
